<style type="text/css" media="all">
	


</style>

<script id="newListTemplate" type="text/x-jquery-tmpl">
	<div class="newsList" data-id=<%=id%> data-tye=<%=type%>>
		<div class="newsContent">
			<div class="newsListTit h5"><div class="newsimg">

			<% 
				var isToday = moment(pubDate, "YYYY-MM-DD HH:mm:ss").calendar().indexOf("今天")>-1;
				if(isToday){
					%>
						<img src="../base/img/widget_today_icon.ing" alt="" class="newsListImginfo"/> 
					<%
				}
			%>
			
			</div><%=title%></div>
			<div class="newsListInfo h6">
					<div><%=author%></div>
					<div><%=moment(pubDate, "YYYY-MM-DD HH:mm:ss").fromNow()%></div>
					<div><img src="../base/img/widget_comment_count_icon.ing" alt="" class="newsListImginfo2"> <%=commentCount%></div>
			</div>
		</div>
	</div>
</script>

<!-- header -->
<header class="bar-title">
	<h1 class="left-title">
		<span class="icon-list-alt"></span>
		资讯
	</h1>
	<div class="right-banner">
		<span class="searchBtn icon-search imgsize"></span>
	</div>
</header>

<!-- uncomment this if you want a sencondary-bars

<nav class="bar-standard bar-header-secondary"></nav>
-->
<!-- content -->

<nav class="nav-menu bar-standard bar-header-secondary">
<ul id="io" class="segmented-controller">
	<li class="active" data-value="news/news-list">
		<a href="#">最新资讯</a>
	</li>
	<li data-value="news/blog-list">
		<a href="#">最新博客</a>
	</li>
	<li data-value="news/recommend-list">
		<a href="#">推荐阅读</a>
	</li>
</ul>
</nav>

<div class="content">
<!-- <button class="aaa">aaa</button> -->
<!-- <a href="http://my.oschina.net/u/1392132" target="_blank" rel="nofollow">@大土豆8</a> -->
<list id="news-news-list" 
    autoLoad="false"
    isPullDownRefresh="true"  
    jsonRoot="newslist"
    bundle="fs"
    paging="true"
    iScroll="true"
    _itemTemplate="newListTemplate"></list>
</div>

<footer class="footer-menu" data-value="news" data-page="/news-list"></footer>